package a.b.c;


import android.app.Activity;
import android.content.*;
import android.os.Bundle;
import android.view.*;
import android.widget.*;

public class main extends Activity {
	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.gameinit);

		ImageButton start = (ImageButton) findViewById(R.id.gamestart);
		ImageButton ranking = (ImageButton) findViewById(R.id.ranking);

		start.setOnClickListener(new View.OnClickListener() {

			public void onClick(View v) {
				Intent intent1 = new Intent(main.this, GameActivity.class);
				startActivity(intent1);
			}
		});

		ranking.setOnClickListener(new View.OnClickListener() {

			public void onClick(View v) {
				Intent intent2 = new Intent(main.this, rankingview.class);
				startActivity(intent2);
			}
		});

	}
}